package com.bifrost.model.vo;

import java.math.BigInteger;

/**
 * @author rangf
 * @date 2018/4/20
 */
public class CustomerVO {

    private Long customerId;
    private String customerLastname;
    private String customerNickname;

    public String getCustomerLastname() {
        return customerLastname;
    }

    public void setCustomerLastname(String customerLastname) {
        this.customerLastname = customerLastname;
    }

    public String getCustomerNickname() {
        return customerNickname;
    }

    public void setCustomerNickname(String customerNickname) {
        this.customerNickname = customerNickname;
    }

    private String customerPhone;
    private String customerEmail;
    private String customerType;
    private String customerGender;//0:女 1：男 2：保密
    private BigInteger bonusPoints;
    private String createdTimestamp;
    private String identificationId;
    private String tags;
    private Boolean isActive;
    private String loyaltyCard;
    private String merchantMessage;

    public String getMerchantMessage() {
        return merchantMessage;
    }

    public void setMerchantMessage(String merchantMessage) {
        this.merchantMessage = merchantMessage;
    }

    public String getLoyaltyCard() {
        return loyaltyCard;
    }

    public void setLoyaltyCard(String loyaltyCard) {
        this.loyaltyCard = loyaltyCard;
    }

    public Boolean getActive() {
        return isActive;
    }

    public void setActive(Boolean active) {
        isActive = active;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getCustomerType() {
        return customerType;
    }

    public void setCustomerType(String customerType) {
        this.customerType = customerType;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getIdentificationId() {
        return identificationId;
    }

    public void setIdentificationId(String identificationId) {
        this.identificationId = identificationId;
    }


//    public String getCustomerLastname() {
//        String c="";
//
//        if (this.customerLastname==null){
//            return null;
//        }
//        try {
//            c= java.net.URLDecoder.decode(this.customerLastname,"utf-8");
//        } catch (UnsupportedEncodingException e) {
//            e.printStackTrace();
//        }
//        return c;
//    }
//
//    public void setCustomerLastname(String customerLastname) {
//        this.customerLastname = customerLastname;
//    }
//
//    public String getCustomerNickname() {
//        if (this.customerNickname==null){
//            return null;
//        }
//
//        String c="";
//        try {
//            c= java.net.URLDecoder.decode(this.customerNickname,"utf-8");
//        } catch (UnsupportedEncodingException e) {
//            e.printStackTrace();
//        }
//        return c;
//    }
//
//    public void setCustomerNickname(String customerNickname) {
//        this.customerNickname = customerNickname;
//    }

    public String getCustomerPhone() {
        return customerPhone;
    }

    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone;
    }

    public String getCustomerEmail() {
        return customerEmail;
    }

    public void setCustomerEmail(String customerEmail) {
        this.customerEmail = customerEmail;
    }

    public String getCustomerGender() {
        return customerGender;
    }

    public void setCustomerGender(String customerGender) {
        this.customerGender = customerGender;
    }

    public BigInteger getBonusPoints() {
        return bonusPoints;
    }

    public void setBonusPoints(BigInteger bonusPoints) {
        this.bonusPoints = bonusPoints;
    }

    public String getCreatedTimestamp() {
        return createdTimestamp;
    }

    public void setCreatedTimestamp(String createdTimestamp) {
        this.createdTimestamp = createdTimestamp;
    }
}
